Design Patterns for Events |
![]() |
Standard patterns for registering event listener: |
|
void addFooListener(FooListener f);
|
||
void removeFooListener
|
||
![]() |
For Unicast event sources add method is: | |
void addFooListener(FooListener f);
|
||
throws TooManyListenersException;
|